package com.library.guard.core.enums;

import lombok.Getter;

/**
 * @Package: com.library.guard.core.enums
 * @ClassName: Level
 * @Author: Yin
 * @Date: 16:46
 * @Description: 高&低 电平
 */
public enum N01Level {

    UP(1),

    DOWN(0),
    ;
    private int val;

    N01Level(int val) {
        this.val = val;
    }

    public int level() {
        return this.val;
    }
}
